.page {
  overflow: hidden;
}

.view {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  // --bottom-sheet-max-height: 80vh;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url('../../../public/image/bg.png');
  background-color: #edf0f9;

  // background-color: #07476a;
}

.homeBox {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;

  .logoBox {
    width: 100%;
    height: 228rpx;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 30rpx;
    margin-bottom: 100rpx;
  }

  .logo {
    width: 656rpx;
    height: 228rpx;
  }

  .content {
    width: 100%;
    // height: 1200rpx;
    background-color: transparent;
    border: 2rpx solid #fff;
    border-bottom-width: 0 !important;
    border-bottom-color: transparent !important;
    border-top-left-radius: 30rpx;
    border-top-right-radius: 30rpx;
    padding: 30rpx 30rpx 0rpx;
  }

  .modeBox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    .modeItem {
      height: 100rpx;
      width: 215rpx;
      border-radius: 16rpx;
      border: 2rpx solid #fff;
      background-color: #f9fafc;

      display: flex;
      justify-content: center;
      align-items: center;
      color: #667f94;
      font-size: 30rpx;
    }

    .modeItem1 {
      width: 100%;
    }
    .modeItem2 {
      width: 45%;
    }

    .modeItemActive {
      color: #3eaeff;
    }
  }

  .sliderBox {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-inline: 30rpx;
    width: 100%;
    background-color: #f9fafc;
    border: 2rpx solid #fff;
    border-radius: 16rpx;
    margin-top: 30rpx;

    .sliderItem {
      height: 100rpx;
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      color: #667f94;
      font-size: 30rpx;

      .sliderTitle {
        color: #000;
        font-size: 30rpx;
      }
    }
  }

  .btnContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 20rpx;
    padding: 0 120rpx;
    .switchLedBox {
      .switchLed {
        width: 84rpx;
        height: 84rpx;
      }
    }

    .jilian {
      width: 84rpx;
      height: 84rpx;
      background-color: #f9fafc;
      border-radius: 42rpx;
      display: flex;
      justify-content: center;
      align-items: center;
      .jilianIcon {
        width: 48rpx;
        height: 48rpx;
        object-fit: contain;
      }
    }
  }

  .yodeeBox {
    width: 100%;
    height: 404rpx;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 60rpx;
    margin-bottom: 100rpx;
    .yodee {
      width: 404rpx;
      height: 404rpx;
    }
  }

  .ohterBox {
    width: 100%;
    padding: 0rpx 30rpx 0rpx;

    .ohterSliderItem {
      height: 100rpx;
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      color: #000;
      font-size: 30rpx;

      .sliderTitle {
        color: #000;
        font-size: 30rpx;
      }
    }

    .controlBox {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      margin-top: 40rpx;
      padding-inline: 100rpx;
      .controlIcon {
        width: 104rpx;
        height: 104rpx;
      }

      .controlCenterIcon {
        width: 124rpx;
        height: 124rpx;
      }
    }
  }

  .voiceBox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #f9fafc;
    border: 2rpx solid #fff;
    border-radius: 16rpx;
    height: 100rpx;
  }

  .otherSliderBox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    padding-left: 42rpx;
    padding-right: 30rpx;

    .voiceIcon {
      width: 36rpx;
      height: 32rpx;
    }
  }
}

.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-inline: 20rpx;
}

.borBot {
  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  --hairline-bottom-width: 0 !important;
}

.bottomBar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  // margin-inline: 20rpx;
  background-color: #fff;
  position: fixed;
  padding-top: 17rpx;
  padding-bottom: calc(17rpx + env(safe-area-inset-bottom) / 2);
  bottom: 0;
  width: 100%;
  padding-inline: 120rpx;

  .tabItem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 160rpx;
    height: 100rpx;
    border-radius: 20rpx;
    background-color: #fff;
    font-size: 22rpx;
    color: #667f94;
  }

  .tabItemActive {
    background-color: #3eaeff;
    color: #fff;
  }

  .tabImage {
    width: 36rpx;
    height: 36rpx;
    margin-bottom: 6rpx;
  }
}

.navBar {
  --nav-bar-background-color: transparent;
  --nav-bar-title-text-color: #000;
  --nav-bar-arrow-color: #000 !important;
  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  --hairline-bottom-width: 0 !important;

  .tabTopIconWrap {
    display: flex;
    justify-content: center;
    align-items: center;
    & > image {
      height: 50rpx;
      width: 50rpx;
      object-fit: contain;
    }
  }
  .tabTopIconWrapLeft {
    display: flex;
    justify-content: center;
    align-items: center;
    & > image {
      height: 45rpx;
      width: 25rpx;
      object-fit: contain;
    }
  }
}
